package com.jjsj.mall.shop.mapper;

import com.jjsj.mall.shop.entity.YoshopOrderReceipte;

import java.util.List;

/**
 * 订单发票Mapper接口
 *
 * @author www.joolun.com
 * @date 2022-10-24
 */
public interface YoshopOrderReceipteMapper {
    /**
     * 查询订单发票
     *
     * @param orderReceipteId 订单发票ID
     * @return 订单发票
     */
    public YoshopOrderReceipte selectYoshopOrderReceipteById(String orderReceipteId);

    /**
     * 查询订单发票列表
     *
     * @param yoshopOrderReceipte 订单发票
     * @return 订单发票集合
     */
    public List<YoshopOrderReceipte> selectYoshopOrderReceipteList(YoshopOrderReceipte yoshopOrderReceipte);

    /**
     * 新增订单发票
     *
     * @param yoshopOrderReceipte 订单发票
     * @return 结果
     */
    public int insertYoshopOrderReceipte(YoshopOrderReceipte yoshopOrderReceipte);

    /**
     * 修改订单发票
     *
     * @param yoshopOrderReceipte 订单发票
     * @return 结果
     */
    public int updateYoshopOrderReceipte(YoshopOrderReceipte yoshopOrderReceipte);

    /**
     * 删除订单发票
     *
     * @param orderReceipteId 订单发票ID
     * @return 结果
     */
    public int deleteYoshopOrderReceipteById(String orderReceipteId);

    /**
     * 批量删除订单发票
     *
     * @param orderReceipteIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteYoshopOrderReceipteByIds(String[] orderReceipteIds);
}
